/*
 * Identifier.java
 *
 * Created on 10 de Janeiro de 2008, 15:54
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package br.ufal.ic.editorLOM.elementosAuxiliares;

import br.ufal.ic.editorLOM.elementosBasicos.Elemento;

/**
 *
 * @author Alexsander
 */
public class Identifier extends Elemento {
    
    private Elemento catalog;
    private Elemento entry;
    
    /**
     * Creates a new instance of Identifier
     */
    public Identifier() {
        super("identifier");
        this.catalog = new Elemento("catalog");
        this.entry = new Elemento("entry");
    }
    
    //----------------------------------------------------------
    
    public void atribuirTextoCatalog(String texto){
        this.catalog.setText(texto);
    }
    
    public void atribuirTextoEntry(String texto){
        this.entry.setText(texto);
    }
    
    //----------------------------------------------------------
    
    public void montar(){
        this.adicionarConteudo(this.catalog);
        this.adicionarConteudo(this.entry);
    }
    
    
}
